﻿using System;

namespace AutoR.Models
{
	// Token: 0x020001F5 RID: 501
	public class PVENode
	{
		// Token: 0x1700033B RID: 827
		// (get) Token: 0x06000B16 RID: 2838 RVA: 0x0006D07D File Offset: 0x0006B27D
		// (set) Token: 0x06000B17 RID: 2839 RVA: 0x0006D085 File Offset: 0x0006B285
		public int id { get; set; }

		// Token: 0x1700033C RID: 828
		// (get) Token: 0x06000B18 RID: 2840 RVA: 0x0006D08E File Offset: 0x0006B28E
		// (set) Token: 0x06000B19 RID: 2841 RVA: 0x0006D096 File Offset: 0x0006B296
		public string flag { get; set; }

		// Token: 0x1700033D RID: 829
		// (get) Token: 0x06000B1A RID: 2842 RVA: 0x0006D09F File Offset: 0x0006B29F
		// (set) Token: 0x06000B1B RID: 2843 RVA: 0x0006D0A7 File Offset: 0x0006B2A7
		public int[] nextNode { get; set; }

		// Token: 0x1700033E RID: 830
		// (get) Token: 0x06000B1C RID: 2844 RVA: 0x0006D0B0 File Offset: 0x0006B2B0
		// (set) Token: 0x06000B1D RID: 2845 RVA: 0x0006D0B8 File Offset: 0x0006B2B8
		public NodeType nodeType { get; set; }

		// Token: 0x1700033F RID: 831
		// (get) Token: 0x06000B1E RID: 2846 RVA: 0x0006D0C1 File Offset: 0x0006B2C1
		// (set) Token: 0x06000B1F RID: 2847 RVA: 0x0006D0C9 File Offset: 0x0006B2C9
		public int pveLevelId { get; set; }

		// Token: 0x17000340 RID: 832
		// (get) Token: 0x06000B20 RID: 2848 RVA: 0x0006D0D2 File Offset: 0x0006B2D2
		// (set) Token: 0x06000B21 RID: 2849 RVA: 0x0006D0DA File Offset: 0x0006B2DA
		public int roundabout { get; set; }

		// Token: 0x17000341 RID: 833
		// (get) Token: 0x06000B22 RID: 2850 RVA: 0x0006D0E3 File Offset: 0x0006B2E3
		// (set) Token: 0x06000B23 RID: 2851 RVA: 0x0006D0EB File Offset: 0x0006B2EB
		public int start_node_id { get; set; }

		// Token: 0x17000342 RID: 834
		// (get) Token: 0x06000B24 RID: 2852 RVA: 0x0006D0F4 File Offset: 0x0006B2F4
		public bool CanSkip
		{
			get
			{
				return this.roundabout == 1;
			}
		}

		// Token: 0x17000343 RID: 835
		// (get) Token: 0x06000B25 RID: 2853 RVA: 0x0006D0FF File Offset: 0x0006B2FF
		public bool IsBattleNode
		{
			get
			{
				return this.nodeType == NodeType.normalBattle || this.nodeType == NodeType.bossBattle || this.nodeType == NodeType.suppress;
			}
		}
	}
}
